import Vue from 'vue'
import Vant from 'vant'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import {Input, InputNumber, Button, Select, Option, Tag, Radio, DatePicker, Upload} from 'element-ui'
import App from './App'
import store from './store/'
import router from './router'
import 'styles/iconfont.css'
import animate from 'animate.css'
import 'swiper/dist/css/swiper.css'
import 'element-ui/lib/theme-chalk/index.css'

import 'lib-flexible'
import VueFab from 'vue-float-action-button'
import Navigation from 'vue-navigation'

Vue.config.productionTip = false
Vue.use(VueAwesomeSwiper).use(Vant).use(VueFab).use(animate).use(Navigation, {router, keyName: 'page'})
Vue.use(Select).use(Option).use(Button).use(Input).use(InputNumber).use(Tag).use(Radio).use(DatePicker).use(Upload)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {
    App
  },
  template: '<App/>'
})
